package com.whut.entryservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whut.clcommon.entity.Result;
import com.whut.entryservice.domain.dto.CancelEntryDTO;
import com.whut.entryservice.domain.dto.EntryDTO;
import com.whut.entryservice.domain.po.Entry;
import com.whut.entryservice.domain.vo.AllEntryVO;
import com.whut.entryservice.domain.vo.EntryVO;

/**
 * @Description: 部落联赛报名Service
 * @Author: Zonghe Wang
 * @Date: 2025/5/4 14:34
 */
public interface IEntryService extends IService<Entry> {
    Result entry(EntryDTO entryDTO);

    boolean createEntry(Entry entry);

    EntryVO selectEntryByClanNo(String cid);

    void cancelEntry(CancelEntryDTO cid);

    AllEntryVO getAllEntry(Long bigClanId);

    void executeRedisOperations(CancelEntryDTO dto);
}
